import request from '@/utils/request'
// -------- 标签管理 --------

let BASE_ADDRESS = 'base/label'

//  分页查询
export function getlabelListApi(params) {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}

//  添加
export function getlabelAddApi(data) {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: "post",
        data
    })
}
//  修改
export function getlabelEditApi(data) {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: "put",
        data
    })
}